FROM elasticsearch:6.8.4

#RUN ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.3.0/elasticsearch-analysis-ik-6.3.0.zip
RUN cd /usr/share/elasticsearch/plugins \
&& wget https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.8.4/elasticsearch-analysis-ik-6.8.4.zip \
&&  mkdir ik \
&&  unzip elasticsearch-analysis-ik-6.8.4.zip -d ./ik \
&& rm -rf elasticsearch-analysis-ik-6.8.4.zip

